﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TEAA
{
    public interface Index<Type>
    {

        void InitializeIndex(IDictionary<Type, List<RecordID>> indexData);

        void AddIndexedRow(Type key, List<RecordID> rid);

        void RemoveIndexedRow(Type key);

        List<RecordID> GetIndexedRowValue(Type key);

        List<RecordID> GetIndexedRowsValueFromRange(Type startKey, Type endKey);

    }
}
